home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 116 / MacAddict 116 (Mac Power Pack)(theDISC)(April 2006).iso / Software / Graphics & Multimedia / iDive.dmg / iDive.app / Contents / Frameworks / CURLHandle.framework / Headers / CURLHandle+extras.h < prev   
Text File  |  2006-01-19  |  2KB  |  62 lines

  1. //
  2. //  CURLHandle+extras.h
  3. //
  4. //  Created by Dan Wood <dwood@karelia.com> on Mon Oct 01 2001.
  5. //  This is in the public domain, but please report any improvements back to the author.
  6. //
  7. //    The current version of CURLHandle is 1.9.
  8. //
  9.  
  10. #import "CURLHandle.h"
  11.  
  12.  
  13. @interface CURLHandle ( extras )
  14.  
  15. /*" Miscellaneous functions "*/
  16.  
  17. - (void) setProgressIndicator:(id)inProgressIndicator;
  18.  
  19. /*" Set options for the transfer "*/
  20.  
  21. - (void) setConnectionTimeout:(long) inSeconds;
  22. - (void) setTransferTimeout:(long) inSeconds;
  23. - (void) setCookieFile:(NSString *)inFilePath;
  24. - (void) setRequestCookies:(NSDictionary *)inDict;
  25. - (void) setFailsOnError:(BOOL)inFlag;
  26. - (void) setFollowsRedirects:(BOOL)inFlag;
  27. - (void) setPostString:(NSString *)inPostString;
  28. - (void) setPostDictionary:(NSDictionary *)inDictionary;
  29. - (void) setPostDictionary:(NSDictionary *)inDictionary encoding:(NSStringEncoding) inEncoding;
  30. - (void) setReferer:(NSString *)inReferer;
  31. - (void) setUserAgent:(NSString *)inUserAgent;
  32. - (void) setUserName:(NSString*)inUserName password:(NSString *)inPassword;
  33. - (void) setNoBody:(BOOL)inNoBody;
  34. - (void) setRange:(NSString *)inRange;
  35. - (void) setIfModSince:(NSDate *)inModDate;
  36. - (void) setLowSpeedTime:(long) inSeconds;
  37. - (void) setLowSpeedLimit:(long) inBytes;
  38. - (void) setVerbose: (BOOL) beVerbose;
  39.  
  40. /*" Get information about the transfer "*/
  41.  
  42. - (double)downloadContentLength;
  43. - (double)downloadSize;
  44. - (double)downloadSpeed;
  45. - (double)nameLookupTime;
  46. - (double)pretransferTime;
  47. - (double)totalTime;
  48. - (double)uploadContentLength;
  49. - (double)uploadSize;
  50. - (double)uploadSpeed;
  51. - (long)fileTime;
  52. - (long)headerSize;
  53. - (long)httpCode;
  54. - (long)requestSize;
  55.  
  56. /*" Multipart post operations "*/
  57. - (void) setMultipartPostDictionary: (NSDictionary *) inDictionary;
  58. - (void) setMultipartPostDictionary: (NSDictionary *) values headers: (NSDictionary *) headers;
  59.  
  60.  
  61. @end
  62.